package com.api;

import com.common.Clue;
import com.common.R;
import org.springframework.stereotype.Component;


@Component
public class ClueServiceApiFallback implements ClueServiceApi{
    public ClueServiceApiFallback() {
        System.out.println("ClueServiceApiFallback------------");
    }

    @Override
    public R list() {
        return R.err(10001, "熔断了，服务暂时不可用");
    }
}
